Event partitioning